package com.open.fei.controller;

import com.open.fei.entities.CommonResult;
import com.open.fei.service.OpenFeignService;
import javax.annotation.Resource;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author zhaoYuFei
 */
@RestController
public class OpenFeignController {
    @Resource
    OpenFeignService openFeignService;
    @GetMapping("/openFeign/test")
    public CommonResult<String> test(){
       return openFeignService.test();
    }
}
